package com.itheima.charstream;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

public class Demo08 {
    public static void main(String[] args) throws IOException {

        BufferedReader reader = new BufferedReader(new FileReader("day13\\aaa\\c.txt"));
        //int ch;
        //char[] chars= new char[1024];
      /*  String s = reader.readLine();
        System.out.println(s);
String s1 = reader.readLine();
        System.out.println(s1);*/
      String s;
     /* while(true){
          s = reader.readLine();
          System.out.println(s);
          if(s==null){
              break;
          }
      }*/
     while ((s=reader.readLine())!=null){
         System.out.println(s);
     }

      reader.close();
    }
}
